<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;


class STaskInfo extends Model
{
    //

    use SoftDeletes;
    public $table = "s_task_info";

    protected $fillable = [
       'title', 'tags', 'content', 'res_url', 'poster', 'admin_id', 'created_at', 'updated_at'
    ];

    public function adminUsers()
    {
        return $this->belongsTo('App\Models\AdminUsers', 'admin_id');
    }


}
